package com.suse.lhw.hms.authserver.service;

import com.suse.lhw.hms.authserver.domin.UPermission;

import java.util.List;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.authserver.service.impl
 * @ClassName: UPermissionService
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/3/28 17:54
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/3/28 17:54
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public interface UPermissionService {


    int deleteByPrimaryKey(Integer id);

    int insert(UPermission record);

    int insertSelective(UPermission record);

    UPermission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UPermission record);

    int updateByPrimaryKey(UPermission record);

    List<UPermission> getUsersPermissions(String s);

    List<UPermission> getAllPermissions();
}

